package com.donger.business.upms.service.impl;

import com.donger.business.upms.mapper.CommonMapper;
import com.donger.common.data.entity.DropDown;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@AllArgsConstructor
public class CommonService {
    private final CommonMapper commonMapper;

    public List<DropDown> queryTableDropdown(String table, String value, String label) {
        return commonMapper.queryTableDropdown(table, value, label);
    }
}
